package protocol.impl

import protocol.Info

class StudentInfo extends Info {
  override def findName(xh: String): String = {
    // 当匹配到正确学号时返回姓名，否则返回 null
    xh match {
      case "G20210735010429" => "zkx"
      case _ => null
    }
  }
}
